import request from 'utils/request'

// 获取中国完整区划
export function guangxiFullDistrict (): any {
  let url = '/json/guangxiFullDistrict.json'
  if (process.env.NODE_ENV === 'production') {
    url = `${process.env.VUE_APP_PUBLICPATH}json/guangxiFullDistrict.json`
  }
  return request({
    baseURL: `${location.protocol}//${location.host}`,
    url,
    method: 'GET'
  })
}
